package com.lzy.system.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 存储表
 * </p>
 *
 * @author lcc
 * @since 2024-01-21
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_bus_entity")
@ApiModel(value = "SysBusEntity对象", description = "存储表")
public class SysBusEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    @JsonProperty(access = JsonProperty.Access.READ_WRITE)
    private String id;

    @ApiModelProperty("存储标题")
    @TableField("title")
    private String title;

    @ApiModelProperty("存储表名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("排序")
    @TableField("order_index")
    private Integer order_index;

    @ApiModelProperty("业务模型id")
    @TableField("bus_id")
    private String bus_id;
}
